package com.example.administrator.hqq.bean.group;

import java.util.ArrayList;
import java.util.List;

/**
 * @name: HQQ
 * @describe:
 * @author: 康海涛 QQ2541849981
 * @time: 2018/11/13 16:09
 * @remark:
 */
public class GroupListBean {

    /**
     * code : 200
     * description : ok
     * data : [{"id":"1231","name":"看我家金毛","url":"http://phvao75wg.bkt.clouddn.com/system/topic/v1/1/%E9%87%91%E6%AF%9B.jpeg","max_member":"10","member_amount":"5"},{"id":"1232","name":"看我家二哈","url":"http://phvao75wg.bkt.clouddn.com/system/topic/v1/1/%E4%BA%8C%E5%93%88.jpeg","max_member":"6","member_amount":"6"},{"id":"1233","name":"看我家德牧","url":"http://phvao75wg.bkt.clouddn.com/system/topic/v1/1/%E5%BE%B7%E7%89%A7.jpeg","max_member":"3","member_amount":"1"}]
     */

    private int code;
    private String description;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<DataBean> getData() {
        if (data==null)
            return new ArrayList<>();
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1231
         * name : 看我家金毛
         * url : http://phvao75wg.bkt.clouddn.com/system/topic/v1/1/%E9%87%91%E6%AF%9B.jpeg
         * max_member : 10
         * member_amount : 5
         */

        private String id;
        private String title;
        private String url;
        private String max_member;
        private String type;
        private int member_amount;
        private int same_city_count;
        private int same_age_count;
        private String introduction;
        private List<String> member_portrait;

        public String getType() {
            return type;
        }

        public void setMember_portrait(List<String> member_portrait) {
            this.member_portrait = member_portrait;
        }

        public List<String> getMemberPortraitData() {
            return member_portrait;
        }

        public void setMemberPortraitData(List<String> memberPortraitData) {
            member_portrait = memberPortraitData;
        }

        public String getIntroduction() {
            return introduction;
        }

        public void setIntroduction(String introduction) {
            this.introduction = introduction;
        }

        public int getMember_amount() {
            return member_amount;
        }

        public void setMember_amount(int member_amount) {
            this.member_amount = member_amount;
        }

        public int getSame_age_count() {
            return same_age_count;
        }

        public int getSame_city_count() {
            return same_city_count;
        }

        public void setSame_age_count(int same_age_count) {
            this.same_age_count = same_age_count;
        }

        public void setSame_city_count(int same_city_count) {
            this.same_city_count = same_city_count;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMax_member() {
            return max_member;
        }

        public void setMax_member(String max_member) {
            this.max_member = max_member;
        }
    }
}
